package sessionBeans;

import java.util.List;
import javax.ejb.Local;
import entityBeans.RequestNotification;

/**
 *
 * @author user
 */
@Local
public interface RequestNotificationFacadeLocal {

    void create(RequestNotification requestNotification);
    
/*
 *
 * this method will take data from webpage and write it into database
 */
    void sendNotification(RequestNotification requestNotification);
/*
 *
 * this method will check the type of notification and write it into friendship or ability table
 */
    void rejectAcceptNotification(RequestNotification requestNotification);

    void edit(RequestNotification requestNotification);

    void remove(RequestNotification requestNotification);

    RequestNotification find(Object id);

    List<RequestNotification> findAll();

    List<RequestNotification> findRange(int[] range);

    int count();
    
}